package ms.unicorn.diagram.edit.helpers;


import ms.unicorn.diagram.edit.commands.EntityCreateCommand;
import ms.unicorn.dsl.ILanguageElement;
import ms.unicorn.util.FigureConstant;

import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;

public class LanguageEntityAdvice extends LanguageElementAdvice implements FigureConstant {	

	public ICommand getCreationCommand(ILanguageElement element, CreateElementRequest req) {
		return new EntityCreateCommand(req);
	}

}
